package com.jfinal.bbsapp.my;
import com.jfinal.aop.Inject;
import com.jfinal.core.Controller;
import com.jfinal.core.Path;
@Path("/my")
public class MyController extends Controller {
	@Inject
	private MyService srv;
	
	//我的课程
	public void courselist() {
		renderJson(srv.courselist(getRequest().getHeader("token")));
	}
	
	//我的学习记录
	public void studylist() {
		renderJson(srv.studylist(getRequest().getHeader("token")));
	}
}
